from django.db import models

# Create your models here.
class staff(models.Model):

    id = models.AutoField(primary_key=True)
    s_name = models.CharField(max_length=32,verbose_name='员工姓名')
    s_sex = models.CharField(max_length=32,verbose_name='性别')
    s_id = models.CharField(max_length=32,verbose_name='工号')
    datetime = models.DateTimeField(auto_now=True,verbose_name='入职时间')
    department_name = models.CharField(max_length=32,verbose_name='部门')
    native = models.CharField(max_length=64,verbose_name='籍贯')
    phone = models.CharField(max_length=32,verbose_name='电话')

